
let express = require('express')
let router = express.Router()
 
let user = require('./api/user')
 
//用户相关，get方法
router.get('/user/all',user.all)
//post方法
router.post('/user/del',user.del)
router.post('/user/update',user.update)
 
 
module.exports = router
